///网络地址
class NetAddress {
  static final baseHost = "http://api.jicaimao.cn/";

  ///
  /// 获取应用版本信息
  ///
  static getAppVersionInfo() {
    return "${baseHost}my/versions";
  }

  //首页获取理财列表
  static final finalList = "homepage/getfinanceListOne";

  //我的宝箱
  static final myBoxList = "my/box";

  //home banner
  static final homeBanner = "homepage/getbanner";

  ///登录
  static final login = "userLogin/userLoginApi";

  ///获取验证码
  static final String getCode =   "userLogin/findCode";
  static final String get_code = "userLogin/findCode";

  ///校验密码
  static final String checkCode =   "userLogin/checkCode";
  static final String check_code = "userLogin/checkCode";

  ///注册
  static final String register = "userLogin/registered";

  ///我的界面接口
  static final myPersonal = "my/index";
  ///设置支付密码
  static final setPayPassword = "userCenter/paymentCode";
  ///修改登录密码
  static final modifyPassword = "userCenter/updateCode";

  ///消息列表

  ///消息列表
  static final myMessage = "my/queryMessage";

  /// 转出接口
  static final takeOutAdess = "my/myAddress";

  /// 个人中心
  static final mySelfInfo = "my/myselfInfo";

  ///修改昵称
  static final updateNickName = "my/updateNickName";

  ///账目列表
  static final recordList = "my/recordList";

  ///上传头像
  static final uploadHead = "userCenter/uploadPicture";

  ///隐私条款
  static final String privacyClause =   "${baseHost}static/privacyclause.html";

  ///注册协议
  static final String registrationAgreement ="${baseHost}static/agreement.html";


  ///
  /// 用户请求身份认证的信息接口
  /// @Austen
  static uploadToServerIdentifyInfo() {
    return "${baseHost}userCenter/identityVerification";
  }

  ///
  /// 上传图片接口
  /// @Austen
  static uploadToServerImage() {
    return "${baseHost}userCenter/uploadImage";
  }

  ///
  ///
  /// 获取用户全局状态
  ///  @Austen
  static getUserSecurityStatus() {
    return '${baseHost}my/securityStatus';
  }
}
